# -*- coding: utf-8 -*-

import xadmin

from .models import EmailDo


class EmailDoAdmin(object):
    list_display = ['code', 'email', 'send_type', 'send_time']
    search_fields = ['code', 'email', 'send_type']
    list_filter = ['code', 'email', 'send_type']
    show_bookmarks = False


xadmin.site.register(EmailDo, EmailDoAdmin)
